
 
 V a r i a b l e   N u m e r i c   x O l d 
 
 V a r i a b l e   N u m e r i c   y O l d 
 
 V a r i a b l e   N u m e r i c   x 1 
 
 V a r i a b l e   N u m e r i c   y 1 
 
 
 
 '   R e a d   t h e   o l d   c u r s o r   p o s i t i o n 
 
 x O l d   =   M o u s e X P 
 
 y O l d   =   M o u s e Y P 
 
 
 
 '   S e t   c u r s o r   t o   1 0 0 0   5 0 0   a n d   t e s t   i t 
 
 x 1   =   1 0 0 0 
 
 y 1   =   5 0 0 
 
 C o n t r o l s   S e t C u r s o r P o s   x 1   y 1 
 
 P r i n t   M o u s e X P   +   "   "   +   M o u s e Y P 
 
 
 
 '   R e s t o r e   t h e   o l d   c u r s o r   p o s i t i o n 
 
 C o n t r o l s   S e t C u r s o r P o s   x o l d   y o l d 
 
 
 
 S t o p 
 
 
 
 
 
 